public class FlyableDemo {
    static void useFlyable(Flyable f,String n){
        f.fly(n);
    }

    public static void main(String[] args) {
        Flyable bird = (String s) -> System.out.println(s + " can fly");
        useFlyable(bird,"bird");
    }
}
